/* 全局样式 */
:root {
  --primary-color: #07d1d2;
  --secondary-color: #ff5722;
  --accent-color: #2196f3;
  --dark-color: #1a2a36;
  --light-color: #f8f9fa;
  --danger-color: #f44336;
  --gradient-primary: linear-gradient(135deg, #07d1d2, #00bcd4);
  --gradient-secondary: linear-gradient(135deg, #ff5722, #ff9800);
  --gradient-mix: linear-gradient(135deg, #07d1d2, #00bcd4);
  --box-shadow: 0 10px 30px rgba(7, 209, 210, 0.15);
  --text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans SC', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9fa;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--dark-color);
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: var(--dark-color);
  position: relative;
  padding-bottom: 1rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: #06bfc0;
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
}

.btn-secondary {
  background-color: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
}

/* 导航栏样式 */
header {
  background-color: white;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
}

.logo h1 {
  font-size: 2rem;
  color: var(--primary-color);
  font-weight: 700;
  text-shadow: var(--text-shadow);
  display: flex;
  align-items: center;
}

.logo h1 i {
  margin-right: 10px;
  font-size: 1.8rem;
}

.nav-menu {
  display: flex;
  align-items: center;
}
.nav-menu .m-btn {
  padding: 4px 10px;
  color: var(--primary-color);
  border-radius: 50px;
  background-color: transparent;
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  border: 2px solid white;
}

.nav-menu li {
  margin-left: 2rem;
}

.nav-link {
  font-weight: 500;
  position: relative;
  color: var(--dark-color);
  padding: 5px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link:hover::after {
  width: 100%;
}

.download-btn {
  background: var(--gradient-primary);
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
}

.download-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color);
}

/* 英雄区域样式 */
.hero {
  padding: 6rem 0;
  background: var(--gradient-primary);
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-content {
  flex: 1;
  padding-right: 2rem;
}

.hero-content h1 {
  font-size: 3.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-shadow: var(--text-shadow);
  line-height: 1.2;
}

.hero-content h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
  text-shadow: var(--text-shadow);
  opacity: 0.9;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  max-width: 600px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.hero-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.5s ease;
}

.hero-image:hover img {
  transform: perspective(1000px) rotateY(0deg);
}

/* 功能特点样式 */
.features {
  padding: 6rem 0;
  background-color: white;
  position: relative;
  overflow: hidden;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: rgba(7, 209, 210, 0.05);
  border-radius: 50%;
  z-index: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

.feature-card {
  background-color: white;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  text-align: center;
  border-bottom: 4px solid transparent;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(to bottom, rgba(7, 209, 210, 0.03), transparent);
  transition: var(--transition);
  z-index: -1;
}

.feature-card:hover::before {
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-15px);
  border-bottom: 4px solid var(--primary-color);
  box-shadow: var(--box-shadow);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  background: rgba(7, 209, 210, 0.1);
  width: 90px;
  height: 90px;
  line-height: 90px;
  border-radius: 50%;
  margin: 0 auto 1.8rem;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--primary-color);
  color: white;
  transform: rotateY(360deg);
  transition:
    transform 0.8s,
    background 0.3s,
    color 0.3s;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
  font-weight: 600;
}

.feature-card p {
  color: #666;
  line-height: 1.7;
}

/* 视频分类样式 */
.categories {
  padding: 6rem 0;
  background-color: var(--light-color);
  position: relative;
}

.categories::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to top, rgba(7, 209, 210, 0.05), transparent);
  z-index: 0;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

.category-card {
  background-color: white;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(to bottom, rgba(7, 209, 210, 0.05), transparent);
  transition: var(--transition);
  z-index: -1;
}

.category-card:hover::before {
  height: 100%;
}

.category-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--box-shadow);
  border-color: rgba(7, 209, 210, 0.2);
}

.category-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.category-card:hover .category-icon {
  transform: scale(1.2);
}

.category-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
  font-weight: 600;
}

.category-card p {
  color: #666;
  line-height: 1.7;
}

/* 未来功能样式 */
.future {
  padding: 6rem 0;
  background: white;
  position: relative;
}

.future-content {
  display: flex;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 1;
}

.future-image {
  flex: 1;
  position: relative;
}

.future-image img {
  border-radius: 15px;
  box-shadow: var(--box-shadow);
  transition: transform 0.5s ease;
}

.future-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(7, 209, 210, 0.1);
  z-index: -1;
}

.future-image::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(7, 209, 210, 0.1);
  z-index: -1;
}

.future-text {
  flex: 1;
}

.future-feature {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2.5rem;
  transition: var(--transition);
  padding: 1.5rem;
  border-radius: 10px;
  background-color: white;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.future-feature:hover {
  background-color: white;
  box-shadow: var(--box-shadow);
  transform: translateX(10px);
  border-left: 3px solid var(--primary-color);
}

.future-feature i {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-right: 1.5rem;
  margin-top: 0.5rem;
  transition: var(--transition);
}

.future-feature:hover i {
  transform: scale(1.2);
}

.future-feature h3 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  color: var(--dark-color);
  font-weight: 600;
}

.future-feature p {
  color: #666;
  line-height: 1.7;
}

/* 下载区域样式 */
.download {
  padding: 6rem 0;
  background: var(--gradient-primary);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.download::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.download::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.download .section-title {
  color: white;
}

.download .section-title::after {
  background-color: white;
}

.download-subtitle {
  font-size: 1.3rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.download-btn {
  display: flex;
  align-items: center;
  background-color: white;
  color: var(--primary-color);
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid transparent;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);

  background-color: transparent;
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  border: 2px solid white;
}

.download-btn i {
  font-size: 1.8rem;
  margin-right: 10px;
}

.download-btn:hover {
}

/* 页脚样式 */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 5rem 0 2rem;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-primary);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
}

.footer-logo h2 i {
  margin-right: 10px;
}

.footer-logo p {
  opacity: 0.8;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.footer-links h3,
.footer-contact h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.8rem;
  font-weight: 600;
}

.footer-links h3::after,
.footer-contact h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-links ul li {
  margin-bottom: 0.8rem;
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-contact p {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  opacity: 0.8;
}

.footer-contact p i {
  margin-right: 10px;
  color: var(--primary-color);
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: var(--transition);
  border: 1px solid transparent;
}

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
  border-color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.7;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    padding-right: 0;
    margin-bottom: 3rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .future-content {
    flex-direction: column;
  }

  .future {
    background: white;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: white;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 2rem;
    transition: var(--transition);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 1.5rem 0;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content h2 {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .download-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .btn {
    width: 100%;
  }

  .feature-card,
  .category-card {
    padding: 1.8rem;
  }
}

/* 动画类 */
.animate {
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 滚动指示器 */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 50px;
  border: 2px solid white;
  border-radius: 15px;
  display: flex;
  justify-content: center;
  padding-top: 10px;
  cursor: pointer;
}

.scroll-indicator::before {
  content: '';
  width: 6px;
  height: 10px;
  background: white;
  border-radius: 3px;
  animation: scrollAnim 2s infinite;
}

@keyframes scrollAnim {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(15px);
    opacity: 0;
  }
}

/* 下载按钮脉冲效果 */
.pulse {
  animation: pulse 0.8s ease-in-out;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* 导航栏滚动效果 */
header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* 高亮文本样式 */
.highlight {
  color: var(--secondary-color);
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(7, 209, 210, 0.2);
  z-index: -1;
  border-radius: 4px;
}

.highlight-text {
  color: var(--primary-color);
  position: relative;
}

/* 卡片交替颜色 - 移除，统一使用主色调 */
.feature-card .feature-icon {
  color: var(--primary-color);
}

.feature-card:hover .feature-icon {
  background: var(--primary-color);
  color: white;
}

.category-card .category-icon {
  color: var(--primary-color);
}

/* 动画延迟 */
.feature-card:nth-child(1) {
  animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
  animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
  animation-delay: 0.3s;
}

.feature-card:nth-child(4) {
  animation-delay: 0.4s;
}

.category-card:nth-child(1) {
  animation-delay: 0.1s;
}

.category-card:nth-child(2) {
  animation-delay: 0.2s;
}

.category-card:nth-child(3) {
  animation-delay: 0.3s;
}

.category-card:nth-child(4) {
  animation-delay: 0.4s;
}

.category-card:nth-child(5) {
  animation-delay: 0.5s;
}

.category-card:nth-child(6) {
  animation-delay: 0.6s;
}
